package com.clouds.wms.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.clouds.wms.bean.Salme;
import com.clouds.wms.dao.SalmeDao;
import com.clouds.wms.exception.SysException;
import com.clouds.wms.util.PagesBean;

@Service("salmeService")
public class SalmeServiceImpl implements SalmeService {
	@Resource(name="salmeDao")
	private SalmeDao salmeDao;

	@Override
	public PagesBean getSalmeList(String meaa, String meab, String meac,String startMead, String endMead, int offset, int pageSize)	throws SysException {
		return salmeDao.getSalmeList(meaa, meab, meac, startMead, endMead, offset, pageSize);
	}

	@Override
	public Salme getSalme(String meaa,String meab) throws SysException {
		return salmeDao.getSalme(meaa,meab);
	}

	@Override
	public int saveSalme(Salme salme) throws SysException {
		return salmeDao.saveSalme(salme);
	}
	
}
